package com.ksframework.common.exception;

import org.apache.log4j.Logger;
/**
 * @作用:自定义业务逻辑层异常
 * 
 */
public class ServiceException extends Exception {
	private static final long serialVersionUID = 5877086761386574587L;

	Logger log = Logger.getLogger(ServiceException.class.getName());

	public ServiceException() throws RuntimeException {
		this.log.error("服务类操作出现异常");
	}

	public ServiceException(String message) throws RuntimeException {
		this.log.error("服务类操作出现异常:" + message);
	}
}